'Declaration
<NotNullAttribute()> Public Overloads Shared Function Create(Of TValue)( _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor, _ ByVal groupParameters As DAGroupParameters, _ Optional ByVal state As Object _ ) As DAItemChangedObservable(Of TValue)
'Usage
Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim groupParameters As DAGroupParameters Dim state As Object Dim value As DAItemChangedObservable(Of TValue) value = DAItemChangedObservable.Create(Of TValue)(serverDescriptor, itemDescriptor, groupParameters, state)
[NotNull()] public static DAItemChangedObservable<TValue> Create<TValue>( ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAGroupParameters groupParameters, object state )
[NotNull()] public: static DAItemChangedObservable<TValue^>^ Creategeneric<typename TValue> ( ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor, DAGroupParameters^ groupParameters, Object^ state )
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC item to be subscribed to.
- groupParameters
- An object containing subscription parameters, such as the requested update rate.
- state
- The state object (can be any object supplied by your code); available in notifications.
Type Parameters
- TValue
Return Value
Returns an observable for changes in the given OPC item.